hacker rank solution

visit shbcf.ru